﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;

namespace Web.Tests
{
    [TestFixture]
    public class ConvertTests
    {
        [Test]
        public void TestConvertToInt32()
        {
            string a = "123";
            int result = Convert.ToInt32(a);

            Assert.AreEqual(123, result);            
        }
        [Test]
        public void TestConvertToString()
        {
            int a = 999;
            string result = Convert.ToString(a);
            
            Assert.AreNotEqual("666", result);
        }
//        [Test]
//        public void TestConvertDateTimeToString()
//        {
//            DateTime a = DateTime.Today;
//            string result = Convert.ToString(a);
//
//            Assert.AreEqual("03.03.2012 0:00:00", result);
//        }

    }
}
